package com.multi.tool.wordcut;

import com.hankcs.hanlp.HanLP;
import com.hankcs.hanlp.dictionary.CustomDictionary;
import org.apache.commons.beanutils.BeanUtils;


/**
 * @author zhengpeng.wang
 */
public class HalpTest {

    public static void main(String[] args) {
        System.out.println(HanLP.segment("我喜欢美女"));
        CustomDictionary.add("攻城狮");
        CustomDictionary.add("单身狗");
        System.out.println(HanLP.segment("攻城狮逆袭单身狗，迎娶白富美，走上人生巅峰"));
    }

}
